Optimal. Leaf size=137 \[ \frac{22 a^2 e^2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{e \cos (c+d x)}}{15 d \sqrt{\cos (c+d x)}}-\frac{22 a^2 (e \cos (c+d x))^{7/2}}{63 d e}-\frac{2 \left (a^2 \sin (c+d x)+a^2\right ) (e \cos (c+d x))^{7/2}}{9 d e}+\frac{22 a^2 e \sin (c+d x) (e \cos (c+d x))^{3/2}}{45 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.122008, antiderivative size = 137, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2678, 2669, 2635, 2640, 2639} \[ \frac{22 a^2 e^2 E\left (\left .\frac{1}{2} (c+d x)\right |2\right ) \sqrt{e \cos (c+d x)}}{15 d \sqrt{\cos (c+d x)}}-\frac{22 a^2 (e \cos (c+d x))^{7/2}}{63 d e}-\frac{2 \left (a^2 \sin (c+d x)+a^2\right ) (e \cos (c+d x))^{7/2}}{9 d e}+\frac{22 a^2 e \sin (c+d x) (e \cos (c+d x))^{3/2}}{45 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2678
Rule 2669
Rule 2635
Rule 2640
Rule 2639
Rubi steps
\begin{align*} \int (e \cos (c+d x))^{5/2} (a+a \sin (c+d x))^2 \, dx &=-\frac{2 (e \cos (c+d x))^{7/2} \left (a^2+a^2 \sin (c+d x)\right )}{9 d e}+\frac{1}{9} (11 a) \int (e \cos (c+d x))^{5/2} (a+a \sin (c+d x)) \, dx\\ &=-\frac{22 a^2 (e \cos (c+d x))^{7/2}}{63 d e}-\frac{2 (e \cos (c+d x))^{7/2} \left (a^2+a^2 \sin (c+d x)\right )}{9 d e}+\frac{1}{9} \left (11 a^2\right ) \int (e \cos (c+d x))^{5/2} \, dx\\ &=-\frac{22 a^2 (e \cos (c+d x))^{7/2}}{63 d e}+\frac{22 a^2 e (e \cos (c+d x))^{3/2} \sin (c+d x)}{45 d}-\frac{2 (e \cos (c+d x))^{7/2} \left (a^2+a^2 \sin (c+d x)\right )}{9 d e}+\frac{1}{15} \left (11 a^2 e^2\right ) \int \sqrt{e \cos (c+d x)} \, dx\\ &=-\frac{22 a^2 (e \cos (c+d x))^{7/2}}{63 d e}+\frac{22 a^2 e (e \cos (c+d x))^{3/2} \sin (c+d x)}{45 d}-\frac{2 (e \cos (c+d x))^{7/2} \left (a^2+a^2 \sin (c+d x)\right )}{9 d e}+\frac{\left (11 a^2 e^2 \sqrt{e \cos (c+d x)}\right ) \int \sqrt{\cos (c+d x)} \, dx}{15 \sqrt{\cos (c+d x)}}\\ &=-\frac{22 a^2 (e \cos (c+d x))^{7/2}}{63 d e}+\frac{22 a^2 e^2 \sqrt{e \cos (c+d x)} E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{15 d \sqrt{\cos (c+d x)}}+\frac{22 a^2 e (e \cos (c+d x))^{3/2} \sin (c+d x)}{45 d}-\frac{2 (e \cos (c+d x))^{7/2} \left (a^2+a^2 \sin (c+d x)\right )}{9 d e}\\ \end{align*}
Mathematica [C] time = 0.113194, size = 66, normalized size = 0.48 \[ -\frac{16\ 2^{3/4} a^2 (e \cos (c+d x))^{7/2} \, _2F_1\left (-\frac{11}{4},\frac{7}{4};\frac{11}{4};\frac{1}{2} (1-\sin (c+d x))\right )}{7 d e (\sin (c+d x)+1)^{7/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.433, size = 260, normalized size = 1.9 \begin{align*}{\frac{2\,{a}^{2}{e}^{3}}{315\,d} \left ( -1120\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{10}\cos \left ( 1/2\,dx+c/2 \right ) +2240\,\cos \left ( 1/2\,dx+c/2 \right ) \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{8}-1440\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{9}-1064\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{6}\cos \left ( 1/2\,dx+c/2 \right ) +2880\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{7}-56\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{4}\cos \left ( 1/2\,dx+c/2 \right ) -2160\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{5}+231\,\sqrt{ \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}}\sqrt{2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}-1}{\it EllipticE} \left ( \cos \left ( 1/2\,dx+c/2 \right ) ,\sqrt{2} \right ) +84\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}\cos \left ( 1/2\,dx+c/2 \right ) +720\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{3}-90\,\sin \left ( 1/2\,dx+c/2 \right ) \right ) \left ( \sin \left ({\frac{dx}{2}}+{\frac{c}{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{-2\, \left ( \sin \left ( 1/2\,dx+c/2 \right ) \right ) ^{2}e+e}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{\frac{5}{2}}{\left (a \sin \left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (a^{2} e^{2} \cos \left (d x + c\right )^{4} - 2 \, a^{2} e^{2} \cos \left (d x + c\right )^{2} \sin \left (d x + c\right ) - 2 \, a^{2} e^{2} \cos \left (d x + c\right )^{2}\right )} \sqrt{e \cos \left (d x + c\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{\frac{5}{2}}{\left (a \sin \left (d x + c\right ) + a\right )}^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]